package org.devocean.groupbuying.service;

import java.util.List;

import org.devocean.groupbuying.domain.Plan;

public interface PlanService {

	org.devocean.groupbuying.domain.Plan getPlanById(Integer id);

	Plan addOrUpdatePlan(Plan plan);

	void deletePlan(Integer id);

	long countPlans();

	List<Plan> getAllPlans();

	List<Plan> getAllPlans(String lang);

	List<Plan> getPlansbyProduct(Integer productID, String lang);

	Plan getPlanByArticle(Integer articleID);

	Plan getPlanByLang(Integer localizationKey, String localizationRequest);

}
